#ifndef ENEMY_H
#define ENEMY_H
#include<QPixmap>

class enemy
{
public:
    enemy();
    void updatePosition();

public:
    QPixmap m_enemy;
    int m_x;
    int m_y;
    QRect m_Rect;//碰撞实现
    bool m_free;
    int m_speed;
};

#endif // ENEMY_H
